#pragma once

#define DEFAULT_CLOUD_SIZE         1024  // Should have a square root
#define DEFAULT_CLOUD_FRAME        7
#define DEFAULT_CLOUD_DISPLACEMENT 1.1f

#include "droplet.h"
#include "world.h"

class Cloud
{
private:
    LinkedList<Droplet*> *mDroplets;
    
    Vector2 mOrigin;

    GLuint mTextureName;

    Color mColor;

    void UpdateSprings( void );
public:
    Cloud( Vector2 pOrigin, Color &pColor );
    ~Cloud( void );

    void SetTextureName( const GLuint pTextureName );

    void Render( void );
};

